# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=avr-libc-manpages
pkgver=2.0.0
pkgrel=2
pkgdesc='Man pages for the standard C library for Atmel AVR 8-bit RISC microcontrollers.'
arch=('any')
url='http://www.nongnu.org/avr-libc/'
license=('custom')
source=("http://savannah.nongnu.org/download/avr-libc/avr-libc-manpages-$pkgver.tar.bz2"
        'http://www.nongnu.org/avr-libc/LICENSE.txt')
sha512sums=('8b4aaa6ae176076171e90e629e0e6142c4c56f9cc4f1640432384276df2f7b457f5137739535b07b9cede9b5b2e564db7fe200203faa4e2d0cd9874432507823'
            '9ca0f0748746760348abe98a64440aead3e3adb84921e6aba4014010da64a208515db158df92be08a0b01f012312ce4756f383a66ad43aaf28031e4fc1b16c03')

package() {
  install -Dm 644 -t "$pkgdir/usr/share/doc/avr-libc-$pkgver/man/man3" man/man3/*
  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
